package cn.xchats.rpc.common.dto;

import cn.xchats.rpc.common.type.CodeType;
import lombok.Data;

import java.io.Serializable;

/*
 *
 *@author teddy
 *@date 2018/6/28
 */
@Data
public class ResponseDto<T> implements Serializable{

    private static final long serialVersionUID = 1L;

    private Long id;
    private T body;
    private String code= CodeType.SUCCESS;
    private String message;


}
